{/* LAYOUT模板 */}
<layout name="layout"/>
{/* LAYOUT模板 */}
{/* import Js,Css */}	
<css href="__THEMES__/css/common.css"/>
<css href="__PUBLIC__/css/jquery-ui.css" />
<css href="__THEMES__/css/user.css" />
<js href="__PUBLIC__/js/core/jquery-ui.1.10.4.js" />
{/* import js,css */}

<include file="User:l_user_nav"/>

<!--用户中心导航-->
<style>
.w20{width:20%;}
.w79{width:79%;}
.RBanner{min-height:550px;height:auto;}
</style>
<div class="">
	<div class="w_1200 mp20 clearfix">
		<!--左边栏-->
		<div class="LBanner fl w20">
			<include file="User:user_menu"/>
		</div>
		<!--左边栏-->
		<!--右边栏-->
		<div class="RBanner fr w79">
			<style>
			.uc-box {
				margin-left: 20px;
			}
			.xm-line-box .box-hd .title {
				margin: 0;
				font-size: 18px;
				font-weight: 400;
				line-height: 50px;
				color: #333;
				text-align:left;
			}
			.xm-line-box .box-hd .more {
				position: absolute;
				top: 20px;
				right: 0;
			}
			.uc-order-list-type a.current {
				color: #ff4a00;
			}
			.uc-order-list-type a {
				color: #333;
			}
			.uc-order-list-type .sep {
				margin: 0 15px;
			}
			.box-hd {
				position: relative;
				height: 50px;
				border-bottom: 1px solid #e2e3e5;
			}
			</style>
			<!--右边对应左边栏内容-->			
				<!-- *我的留言 start-->
				<if condition="$action eq 'message_list'">
					<div class="xm-line-box uc-box">
						<div class="box-hd">
							<h3 class="title">
								{$lang.label_message}
							</h3>
							<div class="more">
							</div>
						</div>
						<div>
							<volist name="message_list" id="message">
								<div class="f_l">
									<b>{$message.msg_type}:</b>&nbsp;&nbsp;<font class="f4">{$message.msg_title}</font> ({$message.msg_time})
								</div>
								<div class="f_r">
									<a style="display:inline-block;" href="user.php?act=del_msg&amp;id={$key}&amp;order_id={$message.order_id}" title="{$lang.drop}" onclick="if (!confirm('{$lang.confirm_remove_msg}')) return false;" class="f6">{$lang.drop}</a>
								</div>
								<div class="msgBottomBorder" style="border-bottom:1px dotted #e7e7e7;">
									{$message.msg_content}
									<if condition="$message['message_img']">
										<div align="right">
											<a href="data/feedbackimg/{$message.message_img}" target="_bank" class="f6">{$lang.view_upload_file}</a>
										</div>
									</if>
									<br/><br/>
									<if condition="$message['re_msg_content']">
										<div style="padding-left:20px;">
											<a href="mailto:{$message.re_user_email}" class="f6">{$lang.shopman_reply}</a> 
											({$message.re_msg_time})<br />
											{$message.re_msg_content}
										</div>
									</if>
									<div class="f_r " style="display:inline-block; ">
										<a style="display:inline-block;" hre  '\ f="user.php?act=del_msg&amp;id={$key}&amp;order_id={$message.order_id}" title="{$lang.drop}" onclick="if (!confirm('{$lang.confirm_remove_msg}')) return false;" class="f6">{$lang.drop}</a>
									</div>
								</div>
							</volist>
							<form action="user.php" method="post" enctype="multipart/form-data" name="formMsg" onSubmit="return submitMsg()">
								<table width="100%" border="0" cellpadding="3">
									<if condition="$order_info">
									<tr>
										<td align="right">{$lang.order_number}</td>
										<td>
											<a href ="{$order_info.url}">
												<img src="images/note.gif" />{$order_info.order_sn}
											</a>
											<input name="msg_type" type="hidden" value="5" />
											<input name="order_id" type="hidden" value="{$order_info.order_id}" class="inputBg" />
										</td>
									</tr>
									<else/>
									<tr>
										<td align="right">{$lang.message_type}：</td>
										<td>
											<input name="msg_type" type="radio" value="0" checked="checked" />
											{$lang.type[0]}留言
											<input type="radio" name="msg_type" value="1" />
											{$lang.type[1]}投诉
											<input type="radio" name="msg_type" value="2" />
											{$lang.type[2]}询问
											<input type="radio" name="msg_type" value="3" />
											{$lang.type[3]}售后 
											<input type="radio" name="msg_type" value="4" />
											{$lang.type[4]}求购
										</td>
									</tr>
									</if>
									
									<tr>
										<td align="right">{$lang.message_title}：</td>
										<td><input name="msg_title" type="text" size="30" class="inputBg" /></td>
									</tr>
									<tr>
										<td align="right" valign="top">{$lang.message_content}：</td>
										<td><textarea name="msg_content" cols="50" rows="4" wrap="virtual" class="B_blue"></textarea></td>
									</tr>
									<tr class="hide">
										<td align="right">{$lang.upload_img}：</td>
										<td><input type="file" name="message_img"  size="45"  class="inputBg" /></td>
									</tr>
									<tr>
										<td>&nbsp;</td>
										<td>
											<input type="hidden" name="act" value="act_add_message" />
											<input type="submit" value="{$lang.submit}" class="bnt_bonus" />
										</td>
									</tr>
									<tr class="hide">
										<td>&nbsp;</td>
										<td>
											{$lang.img_type_tips}<br />
											{$lang.img_type_list}
										</td>
									</tr>
								</table>
							</form>
						</div>
					</div>
				</if>
				<!--#我的留言 end-->				
			<!--右边对应左边栏内容-->
		</div>
		<!--右边栏-->
	</div>
</div>
<!--用户中心导航-->
<div class="space100" style="height:100px;"></div>

<include file="Library:service"/>
<include file="Library:footer"/>



